<template>
  <div class="">
    <van-swipe :autoplay="3000" class="my-swipe">
      <van-swipe-item v-for="(image, index) in images" :key="index" class="my-swipe-a">
        <img v-lazy="image" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  name: 'BooksSwipevan',

  data() {
    return {
      images: [
        require('../assets/images/lunbo-a.jpg'),
        require('../assets/images/lunbo-b.jpg'),
        require('../assets/images/lunbo-c.jpg'),
        require('../assets/images/lunbo-d.jpg'),
      ],
    };
  },

  mounted() {
    
  },

  methods: {
    
  },
};
</script>

<style scoped>
.my-swipe-a{
  height: 180px;
  padding: 0 10px;
  }
.my-swipe-a img{
  height: 180px;
  width: 100%;
  }
</style>